// @description 登录接口
// @author 冯世玉
// @date 2018-4-13

import axios from "../index.js"

var login= {
    // 管理员登录
	adminLogin:function(data,success,failure){
		return axios.post("/admin/login",data,success,failure);
    },
    // 学员登录
    studentLogin:function(data,success,failure){
		return axios.post("/student/login",data,success,failure);
	}
}

export default login